package com.maxatime.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.util.Date;

/**
 * @author Mr.Zhao
 * @title:
 * @projectName phoenix
 * @description: TODO
 * @date 2021/9/7 19:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Mybatisplus {

      @TableId(type = IdType.AUTO)
    private Integer id;
   private String name;
   private Integer age;
   private String email;

   @TableField(fill = FieldFill.INSERT)
   private Date  createTime;
   @TableField(fill = FieldFill.INSERT_UPDATE)
   private Date  updateTime;



}
